<!--右侧栏目-->
<div class="right">
  <!--微信公众号+
  <div class="tougao">
    <h1>TnCMS小程序</h1>
    <img src="_THEMES_/blog/static/images/TnCMS.jpg" width="250px" height="250px"/>
  </div>-->
  <!--分类目录-->
  <div class="rightList tag">
    <!-- <h1>分类目录</h1>
    <hr class="layui-bg-red">
    {volist name="tag" id="vo"}
    <a href="{:url('/category/' .$vo.id)}">{$vo['category_name']}</a>
    {/volist} -->
  </div>
  <!--热门文章-->
  <div class="rightList">
    <h1>热门文章</h1>
    <hr class="layui-bg-orange">
    {volist name="hot_list" id="vo"}
    <div class="list-content">
      <div class="list-img"><img src="{$vo['img']|default='/uploads/default/default_cover.jpg'}"/></div>
      <div class="list-right">
        <a  href="{:url('/' .$vo['article_id'])}" target="_blank" style="font-size: 15px;color:#737383">{$vo.title|htmlspecialchars_decode|strip_tags|mb_substr=0,15,'utf-8'}</a>
        <p style="color: #C0C0C0;margin: 5px;">{$vo.create_time|date="Y年m月d日",###}</p>
      </div>
    </div>
    <hr />
    {/volist}
  </div>
  <div class="rightList">
    <h1>随机推荐</h1>
    <hr class="layui-bg-green">
    {volist name="random_list" id="vo"}
    <div class="list-content">
      <div class="list-img"><img src="{$vo['img']|default='/uploads/default/default_cover.jpg'}"/></div>
      <div class="list-right">
        <a  href="{:url('/' .$vo['article_id'])}" target="_blank" style="font-size: 15px;color:#737383">{$vo.title|htmlspecialchars_decode|strip_tags|mb_substr=0,15,'utf-8'}</a>
        <p style="color: #C0C0C0;margin: 5px;">{$vo.create_time|date="Y年m月d日",###}</p>
      </div>
    </div>
    <hr />
    {/volist}
  </div>
  {:hook('ad2')}
</div>